<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Caixa-1.0.2: Código-Fonte de src/relatorio.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Página&nbsp;Principal</span></a></li>
      <li><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;Dados</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Globais</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>src/relatorio.h</h1>  </div>
</div>
<div class="contents">
<a href="relatorio_8h.html">Vá para a documentação deste arquivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> *            relatorio.h</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> *  Tue May 24 16:17:14 2011</span>
<a name="l00005"></a>00005 <span class="comment"> *  Copyright  2011  Alcione Ferreira</span>
<a name="l00006"></a>00006 <span class="comment"> *  &lt;alcione.sombra@gmail.com&gt;</span>
<a name="l00007"></a>00007 <span class="comment"> ****************************************************************************/</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;<a class="code" href="bibliotecas_8h.html">bibliotecas.h</a>&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef __RELATORIO_H__</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define __RELATORIO_H__ 1 </span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;<a class="code" href="pdf-new_8h.html">pdf-new.h</a>&gt;</span>
<a name="l00015"></a>00015 
<a name="l00020"></a><a class="code" href="classCOLUNASRT.html">00020</a> <span class="keyword">class </span><a class="code" href="classCOLUNASRT.html">COLUNASRT</a> : <span class="keyword">public</span> Gtk::TreeModel::ColumnRecord
<a name="l00021"></a>00021     {
<a name="l00022"></a>00022     <span class="keyword">public</span> : 
<a name="l00024"></a>00024         <a class="code" href="classCOLUNASRT.html#a0ed308f26a47622e696393e981b638aa">COLUNASRT</a> ();
<a name="l00026"></a>00026         <a class="code" href="classCOLUNASRT.html#a545635695b0d16d5be48411aa9936990">~COLUNASRT</a> ();
<a name="l00027"></a><a class="code" href="classCOLUNASRT.html#a58e66ba298a9cfadf05e1fc0400075fd">00027</a>         Gtk::TreeModelColumn&lt;int&gt; <a class="code" href="classCOLUNASRT.html#a58e66ba298a9cfadf05e1fc0400075fd">cod_servico</a>;
<a name="l00028"></a><a class="code" href="classCOLUNASRT.html#ad1fec56a896eb42bb10228e6b2e2bf0f">00028</a>         Gtk::TreeModelColumn&lt;int&gt; <a class="code" href="classCOLUNASRT.html#ad1fec56a896eb42bb10228e6b2e2bf0f">cod_funcionario</a>;
<a name="l00029"></a><a class="code" href="classCOLUNASRT.html#ad75fc1b26b1e895bf418150ac86e5e6a">00029</a>         Gtk::TreeModelColumn&lt;int&gt; <a class="code" href="classCOLUNASRT.html#ad75fc1b26b1e895bf418150ac86e5e6a">cod_cliente</a>;
<a name="l00030"></a><a class="code" href="classCOLUNASRT.html#a8517e6b4d04a11fcaf04d22aa911fbbe">00030</a>         Gtk::TreeModelColumn&lt;Glib::ustring&gt; <a class="code" href="classCOLUNASRT.html#a8517e6b4d04a11fcaf04d22aa911fbbe">descricao</a>; 
<a name="l00032"></a>00032     <span class="keyword">private</span>:
<a name="l00033"></a><a class="code" href="classCOLUNASRT.html#af3a8b2537a84aae80e9e6eeef0a9e948">00033</a>         <span class="keywordtype">int</span> <a class="code" href="classCOLUNASRT.html#af3a8b2537a84aae80e9e6eeef0a9e948">n_campos</a>;
<a name="l00034"></a>00034     };
<a name="l00038"></a><a class="code" href="classRELATORIO.html">00038</a> <span class="keyword">class </span><a class="code" href="classRELATORIO.html">RELATORIO</a>
<a name="l00039"></a>00039     {
<a name="l00040"></a>00040     <span class="keyword">public</span>:
<a name="l00042"></a>00042         <a class="code" href="classRELATORIO.html#ae17e54b2747c06eb091a6e35e8a3f302">RELATORIO</a>(<span class="keywordtype">int</span>,<span class="keywordtype">int</span>);
<a name="l00044"></a>00044         <a class="code" href="classRELATORIO.html#a7b6d7b05b8b1891e6384e7438ea2baf7">~RELATORIO</a>();
<a name="l00045"></a><a class="code" href="classRELATORIO.html#ad602d1e3c82f73e75b336b0d01aa54ba">00045</a>         Gtk::Window *<a class="code" href="classRELATORIO.html#ad602d1e3c82f73e75b336b0d01aa54ba">WRelat</a>; 
<a name="l00047"></a>00047         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#aa60a4452125763907840531590c6d205">janela</a>();
<a name="l00048"></a><a class="code" href="classRELATORIO.html#a1acc040be9491cae21fcffa8fcb0588d">00048</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#a1acc040be9491cae21fcffa8fcb0588d">data_relatorio</a>[2];
<a name="l00050"></a>00050     <span class="keyword">protected</span>:
<a name="l00051"></a><a class="code" href="classRELATORIO.html#a5f758bada09f1ecb606f601cf6279693">00051</a>         <a class="code" href="classCOLUNASRT.html">COLUNASRT</a> <a class="code" href="classRELATORIO.html#a5f758bada09f1ecb606f601cf6279693">arvore_reg</a>; 
<a name="l00052"></a><a class="code" href="classRELATORIO.html#a8a371d0338abb9f62d86467c1fd756dd">00052</a>         Glib::RefPtr&lt;Gtk::ListStore&gt; <a class="code" href="classRELATORIO.html#a8a371d0338abb9f62d86467c1fd756dd">dados_serv</a>; 
<a name="l00053"></a><a class="code" href="classRELATORIO.html#ae051bc4b1291866465cfbacf34f4eecd">00053</a>         Glib::RefPtr&lt;Gtk::ListStore&gt; <a class="code" href="classRELATORIO.html#ae051bc4b1291866465cfbacf34f4eecd">dados_fun</a>; 
<a name="l00054"></a><a class="code" href="classRELATORIO.html#ac419274cc01f245033b3eb2bccb9942d">00054</a>         Glib::RefPtr&lt;Gtk::ListStore&gt; <a class="code" href="classRELATORIO.html#ac419274cc01f245033b3eb2bccb9942d">dados_cli</a>; 
<a name="l00055"></a><a class="code" href="classRELATORIO.html#ade0eb16b685d1935dd132d4fffa68176">00055</a>         Gtk::TreeModel::Row <a class="code" href="classRELATORIO.html#ade0eb16b685d1935dd132d4fffa68176">celula</a>; 
<a name="l00057"></a>00057         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a2f5f7f3f42c36ff74d4cced0f9cc8345">carregar_usuario</a>();
<a name="l00059"></a>00059         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#aa1b97c2efbae3eecabc34fb408e91c6b">sair</a>();
<a name="l00061"></a>00061         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#afd90facd927cc06eaed06c6691760020">checagem</a> (<span class="keywordtype">int</span>);
<a name="l00062"></a><a class="code" href="classRELATORIO.html#a7a28c01d108a986a95da27df18a72c80">00062</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#a7a28c01d108a986a95da27df18a72c80">Data_INI</a>;
<a name="l00063"></a><a class="code" href="classRELATORIO.html#a5a44539e7eced04ffdc9123a7990ffcb">00063</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#a5a44539e7eced04ffdc9123a7990ffcb">Data_FIM</a>;
<a name="l00064"></a><a class="code" href="classRELATORIO.html#ab921f81be374051f6aaaa9bf59e98fcb">00064</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#ab921f81be374051f6aaaa9bf59e98fcb">Cod_Servico</a>;
<a name="l00065"></a><a class="code" href="classRELATORIO.html#a6cee6566229a04565cb23ec05dd04914">00065</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#a6cee6566229a04565cb23ec05dd04914">Desc_Servico</a>;
<a name="l00066"></a><a class="code" href="classRELATORIO.html#a94366b4bc2b666a465e95e2fe37bf8b1">00066</a>         Glib::RefPtr&lt;Gtk::EntryCompletion&gt; <a class="code" href="classRELATORIO.html#a94366b4bc2b666a465e95e2fe37bf8b1">Servico_List</a>; 
<a name="l00067"></a><a class="code" href="classRELATORIO.html#a8ae38f51c475e6692a554a85901abfa4">00067</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#a8ae38f51c475e6692a554a85901abfa4">Cod_Funcionario</a>;
<a name="l00068"></a><a class="code" href="classRELATORIO.html#a1c85386aef2d9255308ef2c1f71a735d">00068</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#a1c85386aef2d9255308ef2c1f71a735d">Desc_Funcionario</a>;
<a name="l00069"></a><a class="code" href="classRELATORIO.html#a76cdca58d960f1f288ce28c1dae87472">00069</a>         Glib::RefPtr&lt;Gtk::EntryCompletion&gt; <a class="code" href="classRELATORIO.html#a76cdca58d960f1f288ce28c1dae87472">Funcionario_List</a>; 
<a name="l00070"></a><a class="code" href="classRELATORIO.html#a2c1d454f24685bdc61df7b633ea7c7c9">00070</a>         Gtk::Button *<a class="code" href="classRELATORIO.html#a2c1d454f24685bdc61df7b633ea7c7c9">OK</a>;
<a name="l00071"></a><a class="code" href="classRELATORIO.html#acc894bf5d75682427393e4770af6b388">00071</a>         Gtk::Button *<a class="code" href="classRELATORIO.html#acc894bf5d75682427393e4770af6b388">Cancel</a>;
<a name="l00072"></a><a class="code" href="classRELATORIO.html#ac50afd60888cce098b4081570e5c47e7">00072</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#ac50afd60888cce098b4081570e5c47e7">Cod_Cliente</a>;<span class="comment">/*Gtk::Entry utilizada para digitar/mostrar código do cliente.*/</span>
<a name="l00073"></a><a class="code" href="classRELATORIO.html#a680933358875a48e805bcc85fefa335b">00073</a>         Gtk::Entry *<a class="code" href="classRELATORIO.html#a680933358875a48e805bcc85fefa335b">Nome_Cliente</a>;<span class="comment">/*Gtk::Entry utilizada para digitar/mostrar nome do cliente.*/</span>
<a name="l00074"></a><a class="code" href="classRELATORIO.html#a7c75c8b0f9b681c2977790c0d89ac202">00074</a>         Glib::RefPtr&lt;Gtk::EntryCompletion&gt; <a class="code" href="classRELATORIO.html#a7c75c8b0f9b681c2977790c0d89ac202">Client_List</a>; 
<a name="l00075"></a><a class="code" href="classRELATORIO.html#a39062dc89d86d3c53171a124f551a6bc">00075</a>         Gtk::RadioButton *<a class="code" href="classRELATORIO.html#a39062dc89d86d3c53171a124f551a6bc">Credito</a>;
<a name="l00077"></a>00077         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a395c68890ac0f3a29de4d53a809fe510">set_posicao</a>(Gtk::Entry * , <span class="keywordtype">int</span> );
<a name="l00079"></a>00079         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#af1f3a09b68d9a30630ace8f3e77f8e71">tabular</a>(Gtk::Window*, Gtk::Widget*);
<a name="l00081"></a>00081         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a602fa92269937a17abfdabe2e5305b6e">letra</a>(Gtk::Entry *);
<a name="l00083"></a>00083         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a23947681efc34156e71fae3d1c981e3c">digito</a>(Gtk::Entry *, <span class="keywordtype">int</span>);
<a name="l00084"></a>00084 
<a name="l00085"></a>00085     <span class="keyword">private</span>:
<a name="l00086"></a><a class="code" href="classRELATORIO.html#a6748cc8684848117f7b4fe060b6417b6">00086</a>         <span class="keywordtype">int</span> <a class="code" href="classRELATORIO.html#a6748cc8684848117f7b4fe060b6417b6">pos_entry</a>;
<a name="l00087"></a><a class="code" href="classRELATORIO.html#a2118fa64c4280e99ce62c8c5447a1272">00087</a>         <span class="keywordtype">int</span> <a class="code" href="classRELATORIO.html#a2118fa64c4280e99ce62c8c5447a1272">entry_ativa</a>;
<a name="l00088"></a><a class="code" href="classRELATORIO.html#adfe4e23cbfaa53003a227fab4ada0eed">00088</a>         BANCO *<a class="code" href="classRELATORIO.html#adfe4e23cbfaa53003a227fab4ada0eed">conexao</a>;
<a name="l00089"></a><a class="code" href="classRELATORIO.html#a6814a4a71c5716477758463cf748011b">00089</a>         <span class="keywordtype">int</span> <a class="code" href="classRELATORIO.html#a6814a4a71c5716477758463cf748011b">tipo_relatorio</a>;
<a name="l00090"></a><a class="code" href="classRELATORIO.html#a78679fdcd63dbbe2a99fff7e913abe64">00090</a>         <span class="keywordtype">int</span> <a class="code" href="classRELATORIO.html#a78679fdcd63dbbe2a99fff7e913abe64">cod_fun</a>; 
<a name="l00091"></a><a class="code" href="classRELATORIO.html#aed59f5d77fa5bcfa2bce972dbc31e521">00091</a>         <span class="keywordtype">int</span> <a class="code" href="classRELATORIO.html#aed59f5d77fa5bcfa2bce972dbc31e521">n_acesso</a>; 
<a name="l00092"></a><a class="code" href="classRELATORIO.html#af19918b9892e79c8bc225b449f03b3b5">00092</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#af19918b9892e79c8bc225b449f03b3b5">n_func</a>; 
<a name="l00093"></a><a class="code" href="classRELATORIO.html#a65257121a9cd69624a93e344cf1bacad">00093</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#a65257121a9cd69624a93e344cf1bacad">n_login</a>; 
<a name="l00094"></a><a class="code" href="classRELATORIO.html#ad8519fbb6a39fd976c84bea2f3f2639d">00094</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#ad8519fbb6a39fd976c84bea2f3f2639d">data_sel</a>[2]; 
<a name="l00095"></a><a class="code" href="classRELATORIO.html#a1eb94f023a696e428d9d12e7d23bbeeb">00095</a>         Glib::RefPtr&lt;Gdk::Pixbuf&gt; <a class="code" href="classRELATORIO.html#a1eb94f023a696e428d9d12e7d23bbeeb">ponteiro_icon</a>;
<a name="l00096"></a><a class="code" href="classRELATORIO.html#ae3b58495231837f6c664397ca0d82780">00096</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#ae3b58495231837f6c664397ca0d82780">codigo_sersel</a>; 
<a name="l00097"></a><a class="code" href="classRELATORIO.html#acc76bfeab7d61e9f0c890d557db22d5f">00097</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#acc76bfeab7d61e9f0c890d557db22d5f">codigo_funsel</a>; 
<a name="l00098"></a><a class="code" href="classRELATORIO.html#a3d6e9031fadaf7f0d4501c0a1cf2eb28">00098</a>         <span class="keywordtype">string</span> <a class="code" href="classRELATORIO.html#a3d6e9031fadaf7f0d4501c0a1cf2eb28">codigo_clisel</a>; 
<a name="l00100"></a>00100         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#aee1f26f10aae7e821552aa091583c9f4">preparar_dados</a> (<span class="keywordtype">int</span>);
<a name="l00102"></a>00102         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a282460ad9458fbec5cebf0603399aaa1">checar_servico</a>(Gtk::Window *, Gtk::Entry *, <span class="keywordtype">int</span>);
<a name="l00104"></a>00104         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a9a2d92685a473b1b2e419b8851b4ee5a">checar_funcionario</a>(Gtk::Window *, Gtk::Entry *, <span class="keywordtype">int</span>);
<a name="l00106"></a>00106         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a8c7e14c62f1f8ddbe2784ce490f649ec">checar_cliente</a>(Gtk::Window *, Gtk::Entry *, <span class="keywordtype">int</span>);
<a name="l00108"></a>00108         <span class="keywordtype">void</span> <a class="code" href="classRELATORIO.html#a6a55242895f7ba7ad055f9bcb6a89114">imprimir</a>();
<a name="l00109"></a>00109 
<a name="l00110"></a>00110     };
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 <span class="preprocessor">#endif </span><span class="comment">/*__RELATORIO_H__*/</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Quarta, 9 de Maio de 2012 21:34:45 para Caixa-1.0.2 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
